package com.weixing.mall.provider.model.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * LeaveMessageDto
 *
 * @author  wx
 * @date  2019/9/17 15:02
 * @since  1.0
 */
@Data
public class LeaveMessageDto {
    /**
     * id
     */
    private Long id;
    /**
     * 标题
     */
    @NotNull(message = "标题不能为空")
    private String title;
    /**
     * 内容
     */
    @NotNull(message = "内容不能为空")
    private String content;
}
